package com.hd.pzhwlxt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hd.pzhwlxt.pojo.Trans;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
@create: 2022-09-26 18:18
@author: 怀念天空
@Description: 
*/

public interface TransMapper extends BaseMapper<Trans> {
    List<Trans> getTransInfo();

    Page<Trans> getTransInfoPage(@Param("page") Page<Trans> page);

    List<Trans> getTransInfoByVehicleId(@Param("vehicleId") Integer vehicleId);

    List<Trans> getTrainWayUsed(@Param("id") Integer id);
}